﻿namespace First_WebAPI.Commons
{
    public class ResponseResult
    {
        public int Code { get; set; } = 200;
        public string Message { get; set; } = string.Empty;
        public Object? Data { get; set; }

        public bool Success
        {
            get { return Message.Contains("成功"); }
        }
    }
}
